package com.crazyhat.crazyhat.attribute;

import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 用户性别枚举
 */
@AllArgsConstructor
@Getter
public enum GenderEnum implements IEnum<String>{

    Secret("保密"),
    Man("男"),
    Woman("女");

    @JsonValue
    private final String description;


    @Override
    public String getValue() {
        return this.description;
    }
}
